package com.example.pceb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;


@Data
@TableName("enrollment")
public class Enrollment {
    @TableId(type = IdType.AUTO) // 自增主键，让数据库自动生成
    private Long id;
    private Long studentId;
    private Long courseId;
    private LocalDateTime enrollTime;
    private String status;
}
